package sim.models;

import com.jme3.app.Application;
import com.jme3.math.Vector3f;

/**
 *
 * @author Ahmed Abdelkader
 */
public class SinbadModel extends BaseModel {

    public SinbadModel(Application app) {
        super(app, "Models/Sinbad/Sinbad.mesh.xml");
    }

    @Override
    protected float getScale() {
        return 20.0f;
    }

    @Override
    public void walk(Vector3f offest) {
        if (!"RunBase".equals(animationChannel.getAnimationName()))
            animationChannel.setAnim("RunBase", 0.7f);
        character.setWalkDirection(offest);
    }

//    @Override
//    protected Vector3f getOffset() {
//        return Vector3f.UNIT_Z.mult(100.0f);
//    }

//    @Override
//    protected Quaternion getZeroRotation() {
//        return new Quaternion(new float[]{FastMath.HALF_PI, 0f, FastMath.HALF_PI});
//    }
}
